package com.define.commons.dao.dao;

import com.define.commons.dao.domain.Process;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface ProcessMapper extends BaseDao<Process, Long> {

    List<Process> sqlQuery(String sql);

    @Select("select * from process limit 1")
    Process getOneProcess();
}
